package com.zqz.smp.springboot_mybatis_plus.service;

import com.zqz.smp.springboot_mybatis_plus.bean.User;
import com.zqz.smp.springboot_mybatis_plus.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {

     @Autowired
    UserMapper userMapper;

     public List<User> search(){
         return userMapper.search();
     }


}
